#ifndef QTRANSLATEWIDGET_H
#define QTRANSLATEWIDGET_H

#include "../../libs/coreLib/qabstractpagewidget.h"


#include <QWidget>
#include <QTreeWidgetItem>
#include <QComboBox>


namespace CORELIB
{
    class StyledBar;
}

class QTranslateWidget : public CORELIB::QAbstractPageWidget
{
    Q_OBJECT
public:
    explicit QTranslateWidget(QWidget *parent = 0);
signals:
    
public slots:
    
    void    addTranslate();
    void    removeTranslate();

    void    projectOpen();
    void    projectClosed();

protected slots:
    void    changedLanguage(const QString &lan);
    void    currentLanguageChanged();
    void    refreshLanguage();
protected:
    QTreeWidget         *m_translateTree;
    CORELIB::StyledBar  *m_styledBar;
    QComboBox           *m_languageComboBox;
};

#endif // QTRANSLATEWIDGET_H
